IF exists(SELECT * FROM dbo.sysobjects WHERE name='olcControle' AND xtype='P') 
BEGIN
	DROP PROCEDURE olcControle
END
GO

create procedure olcControle
(@inschrijvingsNr char(7),@datum datetime)
as

select *  from olcLlnReservatie
where inschrijvingsNr=@inschrijvingsNr and datum=@datum